<?php

use yii\db\Migration;

/**
 * Class m230713_044133_retype_description_column_in_project_table
 */
class m230713_044133_retype_description_column_in_project_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->alterColumn('{{%project}}', 'description', $this->text());
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->alterColumn('{{%project}}', 'description', $this->string(512));
    }
}
